using CommunityToolkit.Mvvm.ComponentModel;
using System;

namespace RawRestructure.ViewModels;

/// <summary>
/// 视图模型基类
/// </summary>
public partial class ViewModelBase : ObservableObject, IDisposable
{
    /// <summary>
    /// 释放资源
    /// </summary>
    public virtual void Dispose()
    {
        // 默认实现，子类可以重写
        GC.SuppressFinalize(this);
    }
} 